function _showMenu(node, x, y, z)
	_menuNode = node
	gui.scale(0.6, 0.6)
	gui.transform(gui.RENDER_WORLDSCREEN, x, y, z)
	gui.delete('_menu_panel')
	gui.create('_menu_panel', 'panel', 'align=middlecenter;left=50;top=68;width=100;height=204;backColor=#7580908f')
	local button_attrib = 'parent=_menu_panel;left=0;width=100;height=32;backColor=#0d74d5ff;foreColor=#ffffffff'
	gui.create('_menu_edit', 'button', 'top=0;text=编辑;'..button_attrib, function(evt)
		if evt.event == gui.EVENT_CLICK then
			engine.execute('__on_menu', 'edit', _menuNode)
			gui.delete('_menu_panel')
		end
	end)
	gui.create('_menu_visible', 'button', 'top=34;text=隐藏;'..button_attrib, function(evt)
		if evt.event == gui.EVENT_CLICK then
			engine.execute('__on_menu', 'visible', _menuNode)
			gui.delete('_menu_panel')
		end
	end)
	gui.create('_menu_delete', 'button', 'top=68;text=删除;'..button_attrib, function(evt)
		if evt.event == gui.EVENT_CLICK then
			engine.execute('__on_menu', 'delete', _menuNode)
			gui.delete('_menu_panel')
		end
	end)
	gui.create('_menu_transform', 'button', 'top=102;text=变换;'..button_attrib, function(evt)
		if evt.event == gui.EVENT_CLICK then
			engine.execute('__on_menu', 'transform', _menuNode)
			gui.delete('_menu_panel')
		end
	end)
	gui.create('_menu_attach', 'button', 'top=136;text=附加到;'..button_attrib, function(evt)
		if evt.event == gui.EVENT_CLICK then
			engine.execute('__on_menu', 'attach', _menuNode)
			gui.delete('_menu_panel')
		end
	end)
	gui.create('_menu_copyName', 'button', 'top=170;text=复制名称;'..button_attrib, function(evt)
		if evt.event == gui.EVENT_CLICK then
			engine.execute('__on_menu', 'copyName', _menuNode)
			gui.delete('_menu_panel')
		end
	end)
end

function _hideMenu()
	gui.scale(1, 1)
	gui.transform(gui.RENDER_SCREEN)
	gui.delete('_menu_panel')
end